package com.ywy.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.util.SystemPropertyUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


import com.ywy.entity.ClothSize;
import com.ywy.service.ClothSizeService;

@RestController
public class ClothSizeController {
	
	@Autowired
	private ClothSizeService css;
	
	@RequestMapping(value="admin/index/getclothsize", produces = "application/json;charset=utf-8" )
	public List<ClothSize> getClothSizeInfo() {
		return css.getClothSizeInfo();
	}

}
